﻿<%@ Page Title="" Language="C#" MasterPageFile="~/cms/cms.master" AutoEventWireup="true" CodeFile="ResetPassword.aspx.cs" Inherits="cms_ResetPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" Runat="Server">
<h1 class="top-heading">Reset Password</h1>
<table cellpadding="5" width="400">
    <tr>
        <td colspan="2"><asp:Label ID="lbError" runat="server" ForeColor="Red"></asp:Label></td>
    </tr>
    <tr>
        <td>Username:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredPassword0" runat="server" 
                        ControlToValidate="txtUsername" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox ID="txtUsername" runat="server" Enabled="false" CssClass="textbox"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Password:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredPassword" runat="server" 
                        ControlToValidate="txtPassword" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
        <asp:TextBox ID="txtPassword" runat="server" CssClass="textbox" TextMode="Password"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Confirm Password:</td>
        <td>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtConfirmPassword" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword" 
                Display="Dynamic" ErrorMessage="*" ForeColor="Red" SetFocusOnError="True"></asp:CompareValidator>
        <asp:TextBox ID="txtConfirmPassword" runat="server" CssClass="textbox" TextMode="Password"></asp:TextBox></td>
    </tr>
    <tr>
        <td align="right">
            &nbsp;</td>
        <td>
            <asp:Button ID="btnAdd" runat="server" Text="Update" 
                onclick="btnAdd_Click" /></td>
    </tr>
</table>
</asp:Content>

